using System.Collections.Generic;
using microsoft_TODO.DTOs;
using microsoft_TODO.Models;
using microsoft_TODO.MongoCore;
using server.DTOs;

namespace microsoft_TODO.ServiceCore {
    public interface ITaskService {
        List<Task> GetTasksByListId (string lid);

        IEnumerable<Task> GetTasksToday (string uid);

        Task AddNewTask (NewTaskDto dto);

        void MoveToAnotherList (MoveTaskDto dto);

        bool RemoveTask (string lid, int index);

        bool UpdateTask (PutTaskDto dto);

        bool ClearTaskDeadline (string lid, int index);
    }
}